package com.hxzy.shop.commodity.dto.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: cxy
 * @Date: 2022/9/6 16:09
 */
@Data
public class AppletsContractCouponResp {
    @ApiModelProperty(value = "优惠卷id")
    private Long couponId;

    @ApiModelProperty(value = "优惠卷名称")
    private String couponName;

    @ApiModelProperty(value = "优惠卷类型")
    private Integer couponType;

    @ApiModelProperty(value = "满多少")
    private BigDecimal limitedAmount;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal preferentialAmount;

    @ApiModelProperty(value = "结束有效期")
    private Date endTime;

    @ApiModelProperty(value = "可使用商品状态 true全部商品 false部分商品")
    private Boolean availableCommodityStatus;

    @ApiModelProperty(value = "优惠卷状态 优惠卷状态 0 已使用  1未使用  2已失效")
    private Integer state;

    @ApiModelProperty(value = "序号")
    private Integer sort;

    @ApiModelProperty(value = "有效期类型 1.限时有效 2.领取后X天有效")
    private Integer validityType;
    @ApiModelProperty(value = "有效期 天")
    private Integer validity;

    @ApiModelProperty("合约用药签约信息id")
    private Long signCouponInfoId;

    @ApiModelProperty("是否领取(0 未领取 1 已领取)")
    private Integer isReceive;

}
